# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-meteor
pkgver=0_git20190912
pkgrel=0
_commit="3d21e3b5a7596918bee0fcaca5752ae76624c05e"
pkgdesc="libretro port of Meteor GBA emulator"
url="https://github.com/libretro/meteor-libretro"
arch="all"
license="GPL-3.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/meteor-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/meteor-libretro-$_commit"
options="!check" # No tests

build() {
	make -C libretro
}

package() {
	install -Dm644 libretro/meteor_libretro.so "$pkgdir"/usr/lib/libretro/meteor_libretro.so
}

sha512sums="3bd91cf8d861b3dd5e815138144eb7273c8bca4ce6b0467109005686d35743067023c4a3dbb33d94c1076ec47a64ecdf5f86830fb746dd7c0439f858a2b6e619  libretro-meteor-3d21e3b5a7596918bee0fcaca5752ae76624c05e.tar.gz"
